<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Activity extends CI_Controller {
	private $activities;

	public function __construct()
	{
		parent::__construct();
				
		$this->activities = array(
			array(
				'imageurl' => '/res/images/project_shot2.png',
				'username' => '김신혜',
				'activity' => '코멘트를 달았습니다.'
			),
			array(
				'imageurl' => '/res/images/project_shot3.png',
				'username' => '이상원',
				'activity' => '좋아합니다.'
			),
			array(
				'imageurl' => '/res/images/project_shot1.png',
				'username' => '한대승',
				'activity' => '좋아합니다.'
			),
			array(
				'imageurl' => '/res/images/project_shot2.png',
				'username' => '장영진',
				'activity' => '코멘트를 달았습니다.'
			),
			array(
				'imageurl' => '/res/images/project_shot1.png',
				'username' => '정나미',
				'activity' => '코멘트를 달았습니다.'
			),				
			array(
				'imageurl' => '/res/images/project_shot4.png',
				'username' => '김광철',
				'activity' => '코멘트를 달았습니다.'
			),
			array(
				'imageurl' => '/res/images/project_shot3.png',
				'username' => '김민준',
				'activity' => '좋아합니다.'
			),
			array(
				'imageurl' => '/res/images/project_shot5.png',
				'username' => '김경렬',
				'activity' => '좋아합니다.'
			),
		);
	}

	public function lists()
	{		
		$this->load->view('activity/lists', array('activities' => $this->activities));
	}
}